<div class="opravaVrchu"></div>
<div class="overBody">

		<div class="menu_obal vyska_menu">
        	<div class="menu vyska_menu">
            	<div class="menu_obal2">
                <?php
				if(!empty($temp_nav))
				{ ?>
            		<a class="menu_odkazy"  href="index.php"><div class="menu_polozka vyska_menu <?php if($temp_nav == "home") echo "menu_polozka_active"; ?>">	<div class="center">Home				</div></div></a>
                	<a class="menu_odkazy" href="Nabidky.php"><div class="menu_polozka vyska_menu <?php if($temp_nav == "nabidky") echo "menu_polozka_active"; ?>">	<div class="center">Nabídky			</div></div></a>
                	<a class="menu_odkazy" href="Pridat.php"><div class="menu_polozka vyska_menu <?php if($temp_nav == "pridat") echo "menu_polozka_active"; ?>">	<div class="center">Přidat				</div></div></a>
                	<a class="menu_odkazy" href="edit_form.php"><div class="menu_polozka vyska_menu <?php if($temp_nav == "edit") echo "menu_polozka_active"; ?>">	<div class="center">Upravit			</div></div></a>
                	<a class="menu_odkazy" href="Kontakt.php"><div class="menu_polozka vyska_menu <?php if($temp_nav == "kontakt") echo "menu_polozka_active"; ?>">	<div class="center">Kontakt			</div></div></a>
                    <a class="" href="http://www.gym-karvina.cz"  target="_blank"><div class="vyska_menu gym">	<div class="center"></div></div></a>
					<?php } 
					else {?>
                    
                    
            		<a class="menu_odkazy"  href="index.php"><div class="menu_polozka vyska_menu <?php if($_COOKIE["nav"] == "home") echo "menu_polozka_active"; ?>">	<div class="center">Home				</div></div></a>
                	<a class="menu_odkazy" href="Nabidky.php"><div class="menu_polozka vyska_menu <?php if($_COOKIE["nav"] == "nabidky") echo "menu_polozka_active"; ?>">	<div class="center">Nabídky			</div></div></a>
                	<a class="menu_odkazy" href="Pridat.php"><div class="menu_polozka vyska_menu <?php if($_COOKIE["nav"] == "pridat") echo "menu_polozka_active"; ?>">	<div class="center">Přidat				</div></div></a>
                	<a class="menu_odkazy" href="edit_form.php"><div class="menu_polozka vyska_menu <?php if($_COOKIE["nav"] == "edit") echo "menu_polozka_active"; ?>">	<div class="center">Upravit			</div></div></a>
                	<a class="menu_odkazy" href="Kontakt.php"><div class="menu_polozka vyska_menu <?php if($_COOKIE["nav"] == "kontakt") echo "menu_polozka_active"; ?>">	<div class="center">Kontakt			</div></div></a>
                    <a class="" href="http://www.gym-karvina.cz"  target="_blank"><div class="vyska_menu gym">	<div class="center"></div></div></a>
                    <?php } ?>
            	</div>
                <form action="vyhledano.php" method="get">
                <input class="fulltext"  name="fulltext" list="naseptavac" autocomplete="off" placeholder="Hledat" type="text" maxlength="50" onfocus="this.value=''" <?php 
				if(isset($_GET["fulltext"]))
					echo "value='".htmlspecialchars($_GET["fulltext"])."'";
				?>/>
                
                </form>
                	<?php  echo "<datalist id='naseptavac'>";
			$isbn_z_db = mysqli_query($GLOBALS["pripojeni"],"SELECT `isbn`,`nazev`  FROM `knihy`");
			foreach($isbn_z_db as $navrh)
			{
				echo "<option value='".$navrh["nazev"]."'>";	
			}
			foreach($isbn_z_db as $navrh)
			{
				echo "<option value='".$navrh["isbn"]."'>";	
			}
			echo "</datalist>";
			?>
            </div>
        </div>
    
    